package com.ruoyi.common.utils.login;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class TechnicianLoginUtil {


    public void technicianLoginOut(Long id) {
        //先校验是否封禁
        StpKit.TECHNICIAN.disable(id,-1);
        StpKit.TECHNICIAN.logout(id);
    }


}
